﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using QLNhaSach.Class;

namespace QLNhaSach.Modules
{
    public partial class BaoCaoCongNo : UserControl
    {
        BindingList<TraCuuSachOBJ> gridDataList = new BindingList<TraCuuSachOBJ>();
        public BaoCaoCongNo()
        {
            InitializeComponent();
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            //foreach (DataRow row in dt.Rows)
            //{
            //    gridDataList.Add(new TraCuuSachOBJ("1", row["S_MASACH"].ToString(), (String)row["S_TENSACH"], (String)row["TL_TENTHELOAI"], (String)row["TG_TENTACGIA"], row["S_DONGIA"].ToString(), row["S_SOLUONGTON"].ToString(), row["PN_NGAYNHAP"].ToString()));
            //}
            //gridControl1.DataSource = gridDataList;
        }
    }
}
